package com.fanketly.funacg2.ui.viewmodels.state

import com.fanketly.funacg2.data.model.Children
import com.fanketly.funacg2.data.model.WorkList

sealed class GlobalState {
    object Loading : GlobalState()
    object Close : GlobalState()
    object OpenDrawer : GlobalState()
    data class ToDetail(val list: ArrayList<Children>, val work: WorkList.Work) : GlobalState()
    data class ShowToast(val message: String) : GlobalState()
    object NotAuthorization : GlobalState()
}